package net.ikenway.springboot.demo.Dao;

import net.ikenway.springboot.demo.Model.Entity.Activity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author MasterKenway <zk@ikenway.net>
 * @Description
 * @date Created Date 12/20/2020
 */
public interface ActivityRepository extends JpaRepository<Activity, Long> {
    List<Activity> findAllByEnableOrderByDisplayOrder(Boolean enable);
}
